#include "lpt.hpp"
#include "lpt_wget.hpp"
int lpt_wget_getandcheck(string url,string file){
    string command = "wget --no-check-certificate -q "+ url + " -O " + file;
    #ifdef DEBUG
        command = "cp "+url +" "+ file;
    #endif
    if(system(command.c_str())==0) return 1;
    return 0;
}
